
package com.google.api.ads.adwords.jaxws.v201209.cm;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *             Represents a UserList object that is sent over the wire.
 *             This is a list of users an account may target.
 *           
 * 
 * <p>Java class for UserList complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="UserList">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="isReadOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="status" type="{https://adwords.google.com/api/adwords/cm/v201209}UserListMembershipStatus" minOccurs="0"/>
 *         &lt;element name="accessReason" type="{https://adwords.google.com/api/adwords/cm/v201209}AccessReason" minOccurs="0"/>
 *         &lt;element name="accountUserListStatus" type="{https://adwords.google.com/api/adwords/cm/v201209}AccountUserListStatus" minOccurs="0"/>
 *         &lt;element name="membershipLifeSpan" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="sizeRange" type="{https://adwords.google.com/api/adwords/cm/v201209}SizeRange" minOccurs="0"/>
 *         &lt;element name="type" type="{https://adwords.google.com/api/adwords/cm/v201209}UserList.Type" minOccurs="0"/>
 *         &lt;element name="UserList.Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UserList", propOrder = {
    "id",
    "isReadOnly",
    "name",
    "description",
    "status",
    "accessReason",
    "accountUserListStatus",
    "membershipLifeSpan",
    "size",
    "sizeRange",
    "type",
    "userListType"
})
@XmlSeeAlso({
    LogicalUserList.class,
    RemarketingUserList.class,
    ExternalRemarketingUserList.class
})
public class UserList {

    protected Long id;
    protected Boolean isReadOnly;
    protected String name;
    protected String description;
    protected UserListMembershipStatus status;
    protected AccessReason accessReason;
    protected AccountUserListStatus accountUserListStatus;
    protected Long membershipLifeSpan;
    protected Long size;
    protected SizeRange sizeRange;
    protected UserListType type;
    @XmlElement(name = "UserList.Type")
    protected String userListType;

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setId(Long value) {
        this.id = value;
    }

    /**
     * Gets the value of the isReadOnly property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isIsReadOnly() {
        return isReadOnly;
    }

    /**
     * Sets the value of the isReadOnly property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setIsReadOnly(Boolean value) {
        this.isReadOnly = value;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDescription() {
        return description;
    }

    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDescription(String value) {
        this.description = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link UserListMembershipStatus }
     *     
     */
    public UserListMembershipStatus getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link UserListMembershipStatus }
     *     
     */
    public void setStatus(UserListMembershipStatus value) {
        this.status = value;
    }

    /**
     * Gets the value of the accessReason property.
     * 
     * @return
     *     possible object is
     *     {@link AccessReason }
     *     
     */
    public AccessReason getAccessReason() {
        return accessReason;
    }

    /**
     * Sets the value of the accessReason property.
     * 
     * @param value
     *     allowed object is
     *     {@link AccessReason }
     *     
     */
    public void setAccessReason(AccessReason value) {
        this.accessReason = value;
    }

    /**
     * Gets the value of the accountUserListStatus property.
     * 
     * @return
     *     possible object is
     *     {@link AccountUserListStatus }
     *     
     */
    public AccountUserListStatus getAccountUserListStatus() {
        return accountUserListStatus;
    }

    /**
     * Sets the value of the accountUserListStatus property.
     * 
     * @param value
     *     allowed object is
     *     {@link AccountUserListStatus }
     *     
     */
    public void setAccountUserListStatus(AccountUserListStatus value) {
        this.accountUserListStatus = value;
    }

    /**
     * Gets the value of the membershipLifeSpan property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getMembershipLifeSpan() {
        return membershipLifeSpan;
    }

    /**
     * Sets the value of the membershipLifeSpan property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setMembershipLifeSpan(Long value) {
        this.membershipLifeSpan = value;
    }

    /**
     * Gets the value of the size property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getSize() {
        return size;
    }

    /**
     * Sets the value of the size property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setSize(Long value) {
        this.size = value;
    }

    /**
     * Gets the value of the sizeRange property.
     * 
     * @return
     *     possible object is
     *     {@link SizeRange }
     *     
     */
    public SizeRange getSizeRange() {
        return sizeRange;
    }

    /**
     * Sets the value of the sizeRange property.
     * 
     * @param value
     *     allowed object is
     *     {@link SizeRange }
     *     
     */
    public void setSizeRange(SizeRange value) {
        this.sizeRange = value;
    }

    /**
     * Gets the value of the type property.
     * 
     * @return
     *     possible object is
     *     {@link UserListType }
     *     
     */
    public UserListType getType() {
        return type;
    }

    /**
     * Sets the value of the type property.
     * 
     * @param value
     *     allowed object is
     *     {@link UserListType }
     *     
     */
    public void setType(UserListType value) {
        this.type = value;
    }

    /**
     * Gets the value of the userListType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUserListType() {
        return userListType;
    }

    /**
     * Sets the value of the userListType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUserListType(String value) {
        this.userListType = value;
    }

}
